package com.whminwei.edu.api.dc.client;

import com.whminwei.common.feign.decoder.FullHttpRspnConfig;
import com.whminwei.common.http.rspn.FullHttpResponse;
import com.whminwei.edu.api.dc.dto.feq.CommonFeq;
import com.whminwei.edu.api.dc.dto.fspn.tch_act.DcExamPlanFspn;
import com.whminwei.edu.api.dc.dto.fspn.tch_act.DcRealTimetableFspn;
import com.whminwei.edu.api.dc.dto.fspn.tch_act.DcTchSchemeFspn;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * @author zhangjq
 * @since 2024-10-23
 */
@FeignClient(name = "xzzg-pt-tch-act-service", contextId = "datacenter-tch-act", configuration = FullHttpRspnConfig.class)
public interface DcTchActClient {

    @PostMapping("/datacenter/getTchSchemeInfo")
    FullHttpResponse<DcTchSchemeFspn> getTchSchemeInfo(@RequestBody CommonFeq feq);

    @PostMapping("/datacenter/getTimetableInfo")
    FullHttpResponse<DcRealTimetableFspn> getTimetableInfo(@RequestBody CommonFeq feq);

    @PostMapping("/datacenter/getExamPlanInfo")
    FullHttpResponse<DcExamPlanFspn> getExamPlanInfo(@RequestBody CommonFeq feq);
}
